import request from '@/utils/request'

//登录接口
export function login(data) {
	return request({
		url: '/student/login',
		method: 'post',
		data
	})
}
//退出注销接口
export function logout(data) {
	return request({
		url: '/logout',
		method: 'get',
		data
	})
}

//注册
export function register(data) {
	return request({
		url: '/student/user/userInfo/register',
		method: 'post',
		data
	})
}

//班级树
export function organizationTree(data) {
	return request({
		url: '/student/user/userInfo/organizationTree',
		method: 'get',
		params:data
	})
}

